/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package net.huangp.service;

import java.io.File;
import java.util.List;
import net.huangp.domain.SMS;

/**
 *
 * @author huangp
 */
public interface SMSService {
    public SMS getSMS(Long id);
    public void saveOrUpdateSMS(SMS sms);
    public int bulkSaveSMS(List<SMS> smsList);
    public void deleteSMS(Long id);
    public List<SMS> searchSMSByExample(SMS example);
    public List<SMS> parseCSV(File file);
    public List<SMS> listSMS(int start,int max);
    public Long countSMS();
    public long backgroundProcessCSV(File file);
}
